package com.populatton.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author shmily
 * @since 2019-09-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SpouseInfo对象", description="")
public class SpouseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "个人信息id")
    private Integer personalId;

    @ApiModelProperty(value = "配偶姓名")
    private String spouseName;

    @ApiModelProperty(value = "配偶身份号码")
    private String spouseCode;

    @ApiModelProperty(value = "省")
    private String provinceCode;

    @ApiModelProperty(value = "市")
    private String cityCode;

    @ApiModelProperty(value = "县")
    private String countyCode;

    @ApiModelProperty(value = "乡")
    private String township;

    @ApiModelProperty(value = "村")
    private String villages;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "从业状况id")
    private Integer employId;

    @ApiModelProperty(value = "工作单位")
    private String workUnit;

    @ApiModelProperty(value = "本人联系电话")
    private String telphone;


}
